package com.example.ndksodemo;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;

public class MainActivity extends AppCompatActivity {

    private static final String TAG ="MainActivity" ;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        int m = 20 , n = 10;

        Log.d(TAG, String.format("Calc result : %s",CalcSub.calcjniadd(m,n)));
        Log.d(TAG,String.format("Calc result : %s",CalcSub.calcjnisub(m,n)));
        Log.d(TAG,String.format("Calc result : %s",CalcSub.calcjnimult(m,n)));
        Log.d(TAG,String.format("Calc result : %s",CalcSub.calcjnidivid(m,n)));
    }
}
